package com.baomidou.springwind.service.impl;

import com.baomidou.framework.annotations.Log;
import com.baomidou.springwind.entity.News;
import com.baomidou.springwind.mapper.NewsMapper;
import com.baomidou.springwind.service.INewsService;
import com.baomidou.springwind.service.support.BaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 龙飞满
 * @since 2017-07-29
 */
@Service
public class NewsServiceImpl extends BaseServiceImpl<NewsMapper, News> implements INewsService {
    @Log("添加用户")
    public boolean insert(News entity) {
        System.err.println(" 覆盖父类方法 ");
        return super.insert(entity);
    }
}
